@import './setting.scss';
@import './normalize.scss';
@import './reset.scss';




.gradient-bg {
  background: -webkit-linear-gradient(left, $gradient-start, $gradient-end);
  /* Safari 5.1 - 6.0 */
  background: -o-linear-gradient(right, $gradient-start, $gradient-end);
  /* Opera 11.1 - 12.0 */
  background: -moz-linear-gradient(right, $gradient-start, $gradient-end);
  /* Firefox 3.6 - 15 */
  background: linear-gradient(to right, $gradient-start, $gradient-end);
}

.container {
  padding: $content-padding;
}

/* 底部操作按钮 */
.handle-button {
  width: calc(100% - 40px);
  height: $btn-size88;
  line-height: $btn-size88;
  background: $button-color;
  box-shadow: $box-shadow;
  border-radius: 44px;
  text-align: center;
  position: absolute;
  bottom: $btn-size88;
  left: 20px;

  a {
    color: $white;
    font-size: $font-size-30;
  }
}

// 数据为空图片

.custom-image {
  margin-top: 20%;

  .van-empty__image {
    width: 225px;
    height: 140px;
  }

  .van-empty__description {
    text-align: center;
    padding: 0;
    width: 170px;
  }
}

.empty-info {
  width: 100%;

  img {
    width: 80%;
    margin: 0 auto;
  }

  p {
    color: #888888;
    font-size: 13px;
    line-height: 19px;
    text-align: center;
  }
}

/* -------------- 导航 ---------------- */
::v-deep .van-hairline--bottom::after {
  border-bottom-width: 0;
}

// 解决导航和内容之件1px的问题
::v-deep .van-nav-bar {
  margin-bottom: -1px;
}

::v-deep .header {
  .van-icon-arrow-left {
    width: 7px;
    height: 12px;
    color: $text-color3;
  }

  // 导航左箭头
  .van-nav-bar__left {
    padding-left: 12px;
  }

  .invest {
    width: 20px;
  }
}
::v-deep .van-icon-arrow{
  font-size: 20px!important;
}

::v-deep .van-dropdown-menu {
  border-top: 1px solid #e5e5e5;
  // border-bottom: 1px solid #e5e5e5;
  // margin-top: 3px;
  

  .van-dropdown-menu__bar {
    height: 36px;
    box-shadow: 0 0 0 0;
    &::after{
      content: '';
      width: 110%;
      height: 1px;
      background: #C0C4CC;
    }
  }

  .van-dropdown-menu__title {
    font-size: 13px;
  }
}

//解决搜索框未垂直居中问题
::v-deep .van-field__body {
  height: 100%;
}

//修改搜索框的默认颜色
::v-deep .van-search__content {
  background-color: #F2F3F5;

  .van-field__control {
    font-size: 14px;
  }

  .van-field__control::-webkit-input-placeholder {
    color: #666666;
  }

  .van-field__control::-moz-placeholder {
    color: #666666;
  }

  .van-field__control:-moz-placeholder {
    color: #666666;
  }

  .van-field__control:-ms-input-placeholder {
    color: #666666;
  }
}

//修改底边左右有空问题
::v-deep .van-cell::after {
  width: 100%;
}

::v-deep .van-dropdown-menu__bar {
  position: relative;

  &::after {
    content: ' ';
    // left: 16px;
    bottom: 0;
    width: 100%;
    position: absolute;
    border-bottom: solid 1px #eeeeee;
    transform: scaleY(.5);
  }
}

::v-deep .van-dropdown-menu__title::after {
  filter: brightness(75%);
  width: 6.5px;
  height: 6.5px;
}

//修复不显示滚动条问题
::v-deep .van-popup::-webkit-scrollbar {
  width: 6px;
  /**/
}

::v-deep .van-popup::-webkit-scrollbar-track {
  background: rgb(239, 239, 239);
  border-radius: 2px;
}

::v-deep .van-popup::-webkit-scrollbar-thumb {
  background: #bfbfbf;
  border-radius: 10px;
}

::v-deep .van-popup::-webkit-scrollbar-thumb:hover {
  background: #333;
}

::v-deep .van-popup::-webkit-scrollbar-corner {
  background: #179a16;
}

* {
  -webkit-overflow-scrolling: touch
}